home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / include / DShowIDL / devenum.idl < prev    next >
Text File  |  2001-10-08  |  1KB  |  39 lines

  1. //------------------------------------------------------------------------------
  2. // File: DevEnum.idl
  3. //
  4. // Desc: IDL source for devenum.dll.  This file will be processed by the 
  5. //       MIDL tool to produce the type library (devenum.tlb) and marshalling
  6. //       code.
  7. //
  8. // Copyright (c) 1998-2001, Microsoft Corporation.  All rights reserved.
  9. //------------------------------------------------------------------------------
  10.  
  11.  
  12. cpp_quote("#define CDEF_CLASS_DEFAULT           0x0001")
  13. cpp_quote("#define CDEF_BYPASS_CLASS_MANAGER    0x0002")
  14. //cpp_quote("#define CDEF_CLASS_LEGACY            0x0004")
  15. cpp_quote("#define CDEF_MERIT_ABOVE_DO_NOT_USE  0x0008")
  16.  
  17. // If any of these flags are set, then only the types specified 
  18. // by the flags are enumerated
  19. cpp_quote("#define CDEF_DEVMON_CMGR_DEVICE     0x0010")
  20. cpp_quote("#define CDEF_DEVMON_DMO             0x0020")
  21. cpp_quote("#define CDEF_DEVMON_PNP_DEVICE      0x0040")
  22. cpp_quote("#define CDEF_DEVMON_FILTER          0x0080")
  23. cpp_quote("#define CDEF_DEVMON_SELECTIVE_MASK  0x00f0")
  24.  
  25. [
  26.         object,
  27.         uuid(29840822-5B84-11D0-BD3B-00A0C911CE86),
  28.         pointer_default(unique)
  29. ]
  30. interface ICreateDevEnum : IUnknown
  31. {
  32.         import "oaidl.idl";
  33.  
  34.         HRESULT CreateClassEnumerator(
  35.                 [in] REFCLSID clsidDeviceClass,
  36.                 [out] IEnumMoniker ** ppEnumMoniker,
  37.                 [in] DWORD dwFlags);
  38. }
  39.